<?php
    echo $this->Html->css(array('fullcalendar.css', 'jquery-ui-1.8.9.custom.css', 'screen.css', 'ie.css'),'stylesheet', array('media'=>'screen'));
	echo $this->Html->script(array('jquery-1.4.4.min.js', 'jquery-ui-1.8.9.custom.min.js', 'fullcalendar.min.js', 'gcal.js'));
    
?>


<script type="text/javascript">
$(document).ready(function() {
	
		var date = new Date();
		var d = date.getDate();
		var m = date.getMonth();
		var y = date.getFullYear();
		
		$('#calendar').fullCalendar({
			theme: true,
			header: {
				left: 'prev,next today',
				center: 'title',
				right: 'month,agendaWeek,agendaDay'
			},
			editable: true,
			events: "../jobs/foxfeed"
		});
		
	});
	$(function() {
		$( "#datepicker" ).datepicker();
	});
</script>

<div id='calendar'></div>